﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB;
using YJKRevitBase.WinForm;

namespace YJKColumnModify.ConnectColumnBream
{
	public partial class ObjectstartForm : System.Windows.Forms.Form
	{
		public ObjectstartForm(WindowHandle hWndRevit)
		{
			this.InitializeComponent();
			this.m_hWndRevit = hWndRevit;
		}

		private void button2_Click(object sender, EventArgs e)
		{
			base.Close();
		}

		public int TheSelect
		{
			get
			{
				return this.theSelect;
			}
		}

		private void button1_Click(object sender, EventArgs e)
		{
			if (this.levelSelect.TabStop)
			{
				this.theSelect = 1;
			}
			if (this.buildSelect.TabStop)
			{
				this.theSelect = 2;
			}
		}

		private void ObjectstartForm_Load(object sender, EventArgs e)
		{
			//base.Icon = Resource.YArchitechIcon;
		}

		private void ObjectstartForm_KeyDown(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Escape)
			{
				base.Close();
			}
		}

		private void groupBox2_Enter(object sender, EventArgs e)
		{
		}

		private void groupBox1_Enter(object sender, EventArgs e)
		{
		}

		private WindowHandle m_hWndRevit;

		private int theSelect;
	}
}
